package com.tanger.auth.auth;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Map;

/**
 * 响应实体
 */
@JsonIgnoreProperties
@JsonSerialize(using = ResponseSerializer.class)
public class Response extends BaseResponse {
    private Object data;

    private Map<String,Object> resultMap;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Map<String, Object> getResultMap() {
        return resultMap;
    }

    public void setResultMap(Map<String, Object> resultMap) {
        this.resultMap = resultMap;
    }

    @Override
    public String toString() {
        return "Response{" +
                "data=" + data +
                ", resultMap=" + resultMap +
                '}';
    }
}
